import http from "./http";
// 关注页面的请求
export const getAttentionApi = (params) =>
  http.get("http://121.199.14.205:3000/api/article", params);

// 推荐页面的请求
export const getRecommendApi = (params) =>
  http.get(
    "http://121.199.14.205:3000/api/list?pageSize=7&currentPage=1",
    params
  );

// 轮播图
// export const getBannerApi = (params) => http.get("/home/banner", params);
// // 商品推荐，首页推荐
// export const postfenApi = (data) => http.post("/home/recommend", data);
// // 推荐分类
// export const posttuiApi = (data) => http.post("/classify", data);
// // 详情页
// export const postxiangApi = (data) => http.post("/detail", data);
